package com.ethan.base;

import lombok.*;

/**
 * @author ethan
 * create 2018-07-27 下午9:14
 * desc
 **/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor()
public class Student extends People {
    private int grade;

    public void learn(String course) {
        System.out.println(this.getName() + "学习:"+course);
    }
}
